class Course < ActiveRecord::Base
  connection.execute "SET NAMES UTF8"
  has_many :logs
  has_many :materials, :order=>'created_at'
  has_many :exam_schedules
  has_many :exams
  has_many :exam_results
  has_many :videos
end
